package net.hn.hnms.biz.indicator.entity;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.time.LocalDateTime;
import java.util.Date;

/**
 * @author 智呈物联 nzw
 * @date 2022/8/24
 */
@Data
@ApiModel(value="DwsFireComprehensiveEarlyAlarm对象", description="火灾综合预警")
public class DwsFireComprehensiveEarlyAlarm {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "报警等级：1代表外因火灾，2代表内因火灾")
    private Integer fireType;

    @ApiModelProperty(value = "数据报警时间")
    private LocalDateTime alarmTime;
    private Date dataTime;
    @ApiModelProperty(value = "工作面编号")
    private String areaCode;

    @ApiModelProperty(value = "传感器编号")
    private String pointCode;

    @ApiModelProperty(value = "传感器类型，同国家局传感器类型")
    private String sensorType;

    @ApiModelProperty(value = "工作面名称")
    private String areaName;

    @ApiModelProperty(value = "传感器位置")
    private String pointLocation;

    @ApiModelProperty(value = "报警等级：0代表无预警，1代表红色，2代表橙色，3代表黄色，4代表蓝色")
    private Integer alarmType;

    @ApiModelProperty(value = "报警等级得分")
    private Integer alarmScores;

    private Integer alarmDuration;

    private String sensorValue;

    private Integer locationType;
}
